<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta charset="utf-8">
		<!-- 公共样式初始化 -->
		<link rel="stylesheet" type="text/css" href="$!{basePath}/app/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="$!{basePath}/app/css/yhq.css"/>
		<!-- jquery引入 -->
		<script type="text/javascript" src="$!{basePath}/plug-in/js/jquery-1.9.1.js"></script>
		<title>我的优惠券</title>
		
	</head>
	<body>
		<div class="app">
			<div class="hand">
				<div class="bl" onclick="goback()">
					<img src="$!{basePath}/app/img/arrowleft.png" >
				</div>
				<div class="title">
					<span>优惠券</span>
				</div>
			</div>
			#if($!{pageInfos})
			#foreach($!{info} in $!{pageInfos})
			<div class="item">
				<div class="item-left bg">
					<div>
						<div class="img">
							<img src="$!{basePath}/app/img/2-1.png" >
						</div>
					</div>
					<div style="margin-left: 8px;">
						<div>
							<p style="font-size: 12px;color:#F07853 ;">￥<span style="font-size: 18px;">$!{info.couponNumber}</span></p>
						</div>
						<div style="font-size: 14px;">
							<span>使用课程：$!{info.productName}</span>
						</div>
					</div>
					<div class="yuan1"></div>
					<div class="yuan2"></div>
				</div>
				<div class="item-right bg" onclick="goDo('$!{info.productId}','$!{info.id}')">
					<div class="but">
						<span>去使用</span>
					</div>
				</div>
			</div>
			#end
			#end
		</div>
	</body>
</html>
<script type="text/javascript">
	function goback(){
		window.history.back()
	}
	function goDo(productId, id) {
		window.location.href="$!{basePath}/app/product/prop/introduce.do?id=" + productId + "&couponId=" + id;
	}
</script>